Files
backstage/packages/backend-openapi-utils/CHANGELOG.md
T
github-actions[bot] b228d7d9c2 Version Packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-20 11:24:40 +02:00

2.8 KiB

@backstage/backend-openapi-utils

0.0.4

Patch Changes

  • Updated dependencies
    • @backstage/errors@1.2.2

0.0.4-next.0

Patch Changes

  • Updated dependencies
    • @backstage/errors@1.2.2-next.0

0.0.3

Patch Changes

  • ebeb775869: Add a new createRouter method for generating an express router that validates against your spec. Also fixes a bug with the query parameters type resolution.
  • 12a8c94eda: Add package repository and homepage metadata
  • Updated dependencies
    • @backstage/errors@1.2.1

0.0.3-next.1

Patch Changes

  • 12a8c94eda: Add package repository and homepage metadata
  • Updated dependencies
    • @backstage/errors@1.2.1

0.0.3-next.0

Patch Changes

  • ebeb775869: Add a new createRouter method for generating an express router that validates against your spec. Also fixes a bug with the query parameters type resolution.
  • Updated dependencies
    • @backstage/errors@1.2.1

0.0.2

Patch Changes

  • fe16bd39e8: Use permalinks for links including a line number reference
  • 27956d7867: Adjusted README accordingly after the generated output now has a .generated.ts extension
  • 021cfbb515: Corrected resolution of parameter nested schema to use central schemas.
  • 799c33047e: Updated README to reflect changes in @backstage/repo-tools.

0.0.2-next.1

Patch Changes

  • fe16bd39e8: Use permalinks for links including a line number reference
  • 021cfbb515: Corrected resolution of parameter nested schema to use central schemas.

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).