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

Get defined schemas as python dictionaries #127

Merged
merged 4 commits into from
Jul 1, 2017

Conversation

roo-oliv
Copy link
Contributor

Despite Flasgger gathers up all defined schemas it does not exposes an interfacing method to enable querying them. This PR adds this missing interfacing method: Swagger::get_schema(schema_id)

This may be useful when an application needs to access the schema for further validation steps, such as dropping additional parameters in a request body.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 93.038% when pulling b235e98 on allrod5:get-schema into 8944594 on rochacbruno:master.

@coveralls
Copy link

coveralls commented Jun 30, 2017

Coverage Status

Coverage increased (+0.03%) to 93.038% when pulling 117f043 on allrod5:get-schema into 8944594 on rochacbruno:master.

@coveralls
Copy link

coveralls commented Jul 1, 2017

Coverage Status

Coverage increased (+0.03%) to 93.038% when pulling 6704072 on allrod5:get-schema into 8944594 on rochacbruno:master.

@rochacbruno rochacbruno merged commit c9c5e49 into flasgger:master Jul 1, 2017
@roo-oliv roo-oliv deleted the get-schema branch July 1, 2017 15:44
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

Successfully merging this pull request may close these issues.

None yet

3 participants