Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[Spring][maven-plugin] Change default generated status to NOT_IMPLEMENTED in controller #6445
Comments
This comment has been minimized.
This comment has been minimized.
Yup, I think so. We've already done something similar for Spring Cloud client: |
wing328
added
General: Suggestion
Server: Spring
labels
Sep 8, 2017
This comment has been minimized.
This comment has been minimized.
I think we now have example responses generated. Should we generate with NOT IMPLEMENTED statuts code and the example body ? |
cbornet
referenced this issue
Oct 16, 2017
Merged
[Spring] Remove Accept request header from API signature #6704
wing328
closed this
in
#6704
Oct 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
M3lkior commentedSep 6, 2017
Description
Code implementation after swagger generation is not immediat in certain team workflow. In my case, i generate controllers sources based on my swagger specs and my developers implements the business code later in the week / or month.
I think it could be fine generating the default implementation with HttpStatus.NOT_IMPLEMENTED:
Swagger-codegen version
2.2.2
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
I think it could be fine generating the default implementation with HttpStatus.NOT_IMPLEMENTED: