-
Enhancement
-
Resolution: Duplicate
-
Major
-
None
-
1.0.2.Final
-
None
Eric, this is per our discussion, I didn't see an Jira issue:
I think in the near term I can definitely add support in the API Manager
REST services for managing of the swagger document for a particular
Service. Non-UI support for simply adding/updating/removing a swagger
document is very easy. Here's what I propose:
/services/
{serviceId}/versions/
{version}/documentation
This endpoint will support POST, PUT, and GET and will allow you to
store the swagger document (or any other type of document we might want
to support e.g. a WADL).
In addition, I'll add an optional "documentationType" field to the
service version (ServiceVersionBean) as an enum type:
public enum ServiceDocumentationType {
Swagger, WADL, Other;
}
I can use this now. I have prototyped this and it seems to work well, now I just need to retrieve it (the doc) using a REST API.
- duplicates
-
APIMAN-277 Support Service "definition" in the API Manager REST layer
- Closed