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

Refactors OperationResponse, SwagResponseSchema, and MediaTypes #292

Merged
merged 2 commits into from Jul 22, 2021

Conversation

cnizzardini
Copy link
Owner

@cnizzardini cnizzardini commented Jul 22, 2021

  • Removes deprecated properties from SwagResponseSchema
  • Remove SwagResponseSchema.schemaItems
  • Updates documentation in annotations.md
  • Refactors all MediaType classes to use schemaType instead of crud
    action
  • Breaks parsing @throw tag for exception responses into its own class,
    was previously part of OperationResponse, now OperationResponseException.
  • Removes getters for write, add, edit, read schemaRefs from Schema
    class. Use new refPath property instead. This is set when schema is
    added now.
  • Removes const SCHEMA from Schema class
  • Updates unit tests.

- Removes deprecated properties from SwagResponseSchema
- Remove SwagResponseSchema.schemaItems
- Updates documentation in annotations.md
- Refactors all MediaType classes to use schemaType instead of crud
action
- Breaks parsing @throw tag for exception responses into its own class,
was previously part of OperationResponse, now OperationResponseException.
- Removes getters for write, add, edit, read schemaRefs from Schema
class. Use new refPath property instead. This is set when schema is
added now.
- Removes const SCHEMA from Schema class
- Updates unit tests.
@cnizzardini cnizzardini added this to the 2.0.0 milestone Jul 22, 2021
@cnizzardini cnizzardini merged commit 0426b5b into 2.next Jul 22, 2021
@cnizzardini cnizzardini deleted the clean-up-operation-response branch July 22, 2021 21:41
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

1 participant