Files
backstage/packages/backend-openapi-utils/CHANGELOG.md
T
github-actions[bot] 8b05da0912 Version Packages (next)
2023-05-02 13:41:12 +00:00

1.4 KiB

@backstage/backend-openapi-utils

0.0.2-next.0

Patch Changes

  • 27956d7867: Adjusted README accordingly after the generated output now has a .generated.ts extension

0.0.1

Patch Changes

  • 62fe726fdc: New plugin! Primary focus is to support types on Routers in backend packages. Developers can use the ApiRouter from this package in their packages to support a typed experience based on their OpenAPI specs. The ApiRouter supports request bodies, response bodies, query parameters and path parameters, as well as full path-based context of the above. This means no more guessing on an endpoint like req.post('/not-my-route', (req, res)=>{res.send(req.body.badparam)}). Typescript would catch /not-my-route, req.body.badparam, res.send(req.body.badparam).

0.0.1-next.0

Patch Changes

  • 62fe726fdc: New plugin! Primary focus is to support types on Routers in backend packages. Developers can use the ApiRouter from this package in their packages to support a typed experience based on their OpenAPI specs. The ApiRouter supports request bodies, response bodies, query parameters and path parameters, as well as full path-based context of the above. This means no more guessing on an endpoint like req.post('/not-my-route', (req, res)=>{res.send(req.body.badparam)}). Typescript would catch /not-my-route, req.body.badparam, res.send(req.body.badparam).