{"repo":"seriousme/fastify-openapi-glue","free":true,"listed":false,"github":"https://github.com/seriousme/fastify-openapi-glue","clone":"git clone https://github.com/seriousme/fastify-openapi-glue.git","description":"A plugin for the Fastify webserver to autogenerate a Fastify configuration based on a OpenApi(v2/v3) specification.","language":"JavaScript","stars":250,"topics":["swagger","fastify","fastify-plugin","openapi","openapi3","openapi3-1","openapi-codegen","javascript","apis","openapi-specification"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Fastify OpenApi Glue A plugin for fastify to auto-generate a configuration based on a OpenApi(v2/v3) specification. It aims at facilitating \"design first\" API development i.e. you write or obtain an API specification and use that to generate code. Given an OpenApi specification Fastify-openapi-glue handles the fastify configuration of routes and validation schemas etc. You can also generate your own project from a OpenApi specification. Upgrading If you are upgrading from a previous major version of fastify-openapi-glue then please check out UPGRADING.md. Install Plugin Usage Add the plugin to your project with register and pass it some basic options and you are done ! All schema and routes will be taken from the OpenApi specification listed in the options. No need to specify them in your code. Options - specification : this can be a JSON object, or the name of a JSON or YAML file containing a valid OpenApi(v2/v3) file - serviceHandlers : this can be a javascript object or class instance. See the serviceHandlers documentation for more details. - securityHandlers : this can be a javascript object or class instance. See the securityHandlers documentation for more details. - prefix : this is a string that can be used to prefix the routes, it is passed verbatim to fastify. E.g. if the path to your operation is specified as \"/operation\" then a prefix of \"v1\" will make it available at \"/v1/operation\". This setting overrules any \"basePath\" setting in a v2 specification. See the serv","default_branch":null,"files":null,"tree":[],"storefront":"/r/seriousme","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seriousme/fastify-openapi-glue/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}