Closed mbuhot closed 1 year ago
Sample OpenAPI spec generated from the AshHQ guides resource.
You can paste it in to https://editor.swagger.io to validate it and see how it will look in SwaggerUI.
Looks awesome! We'll want to integrate the security section with the new ash_authentication
so that it gets set automatically for you, I think. But for now giving them a way to edit it manually is perfectly fine :)
Closing this PR as I wasn't confident in making so many changes to the existing JsonSchema module to accomodate both OpenAPI 3.0 (extended subset of JsonSchema draft 04) and JsonSchema draft 06.
Relates to #62
TODO for an MVP implementation
description
mapped to Operationdescription
description
mapped to parameterdescription
title
from resource module nametags
based on the API module namecomponents.securitySchemes
object and top levelsecurity
object.Contributor checklist