Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks #20

Open
1 of 3 tasks
pgjones opened this issue Oct 19, 2022 · 4 comments
Open
1 of 3 tasks

Tasks #20

pgjones opened this issue Oct 19, 2022 · 4 comments

Comments

@pgjones
Copy link
Owner

pgjones commented Oct 19, 2022

  • Stop altering the JSONProvider (do casing directly with dicts)
  • Document how to order the openapi schema routes
  • Document how to customise the openapi schema
@larsblumberg
Copy link

Hi @pgjones, seeing that you plan to document how to customize the openapi schema, I hope I don't hijack this issue when I ask about how we could add a custom documentation/description string to each view/route?

@pgjones
Copy link
Owner Author

pgjones commented Aug 20, 2023

The view/route docstring should be added to the openapi schema - is that what you want?

@larsblumberg
Copy link

The view/route docstring should be added to the openapi schema - is that what you want?

Yes, having docstring added to the schema would be great. And now that you ask I figure that the docstring is already used for the openapi schema generation:

def _build_path(func: Callable, rule: Rule, app: Quart) -> Tuple[dict, dict]:

@Beetroit
Copy link

Beetroit commented Sep 7, 2024

@pgjones any updates on ordering the schema routes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants