I'm using v1.16.1, and have some apib like this:
### Create a user [POST /api/scim/v2/Users]
+ Request
+ Headers
Content-Type: application/scim+json
Authorization: Bearer token
+ Body
{
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
"userName": "fredsmith",
"name": {
"givenName": "Fred",
"familyName": "Smith"
},
"emails": [
{"primary": true, "value": "fred@example.com", "type": "work"}
],
"displayName": "Fred Smith",
"externalId": "fred-external-id",
"active": true
}
+ Response 201 (application/scim+json)
+ Attributes (ExistingUser)
When producing the swagger json, it creates a produces section, but not consumes, which then causes a UI viewer to default (I'm assuming) to application/json for "content type" and "request body schema". If I add the consumes section myself, it displays correctly.
"produces": [
"application/scim+json"
],
"consumes": [
"application/scim+json"
],
Thank you!
I'm using v1.16.1, and have some apib like this:
When producing the swagger json, it creates a
producessection, but notconsumes, which then causes a UI viewer to default (I'm assuming) toapplication/jsonfor "content type" and "request body schema". If I add the consumes section myself, it displays correctly.Thank you!