Skip to content

Commit

Permalink
chore: Mark auxData parameter as optional in OpenAPI spec (#1723)
Browse files Browse the repository at this point in the history
* chore: Mark auxData parameter as optional in OpenAPI spec

Need to use a custom extension to signal that certain fields should be
omitted from example generation. However, this is still broken because
Rapidoc doesn't handle the case where request parameters are references
to other objects.

Also includes some theming changes to match Cerbos branding.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Run generate

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

* Update schema/assets/ui.html

Co-authored-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
Signed-off-by: Charith Ellawala <charithe@users.noreply.github.com>

---------

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Signed-off-by: Charith Ellawala <charithe@users.noreply.github.com>
Co-authored-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
  • Loading branch information
charithe and oguzhand95 committed Aug 3, 2023
1 parent 6b09c62 commit 690d90a
Show file tree
Hide file tree
Showing 4 changed files with 319 additions and 285 deletions.

0 comments on commit 690d90a

Please sign in to comment.