Alright so I want to know if there is a way to shorten the path parameter
that I have or some way to reference the same path with just more
parameters. I am working on API documentation in swagger.
Here is an example:
Path parameter with multiple parameters:
/test/{StudentID}/{StudentName}/grade/{letterGrade}/passFail
*the error that swagger produces is* Declared path parameter
"StudentName" needs to be defined as a path parameter at either the path or
operation level
here is an example of the path with same parameters in the first half of
the path:
/test/{StudentID}/{StudentName}/grade/{letterGrade}/passFail/gradelevel
/test/{StudentID}/{StudentName}/grade/passFail
/test/{StudentID}/{StudentName}/grade
Now all of these are get requests as well so how would I easily document
this in YAML? or swagger?
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.