Skip to content

openapi

6 posts with the tag “openapi”

Generate the OpenAPI document your API guidelines want — from code, not by hand

Your organization's API guidelines want an API ID in the info block, camelCase operation IDs, OAuth2 scopes per operation, extensible enums and proper date formats. Editing the generated JSON by hand doesn't scale. How to make ASP.NET Core produce a compliant document, with one attribute that both enforces a scope and documents it.