Skip to content

Commit

Permalink
UPS-4849 use explicit model because new inline models mess up code ge… (
Browse files Browse the repository at this point in the history
#420)

* UPS-4849 use explicit model because new inline models mess up code generation

* fix dead link
  • Loading branch information
erwin1 authored Jan 24, 2025
1 parent 7982a78 commit 9a724e3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion projects/api-design-guidelines/docs/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The `PATCH` method is used to do partial updates of existing resources on an API

This contrasts with `PUT` which does updates using a complete representation of the resource, and must always be idempotent.

The `PATCH` method should be avoided on APIs built by/for publiq, until we have agreed on a standardized approach like using [JSON PATCH](http://jsonpatch.com/) or [Merge PATCH](https://datatracker.ietf.org/doc/rfc7396/).
The `PATCH` method should be avoided on APIs built by/for publiq, until we have agreed on a standardized approach like [Merge PATCH](https://datatracker.ietf.org/doc/rfc7396/).

**DELETE**

Expand Down
33 changes: 20 additions & 13 deletions projects/uitpas/reference/uitpas.json
Original file line number Diff line number Diff line change
Expand Up @@ -1602,19 +1602,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"downloadLink": {
"type": "string",
"x-stoplight": {
"id": "g8c5z7be3lp76"
},
"description": "Download link for the QR checkin code"
}
},
"required": [
"downloadLink"
]
"$ref": "#/components/schemas/DownloadLinkResponse"
},
"examples": {
"Example": {
Expand Down Expand Up @@ -9345,6 +9333,25 @@
"required": [
"pictureUrl"
]
},
"DownloadLinkResponse": {
"title": "DownloadLinkResponse",
"x-stoplight": {
"id": "a922luo99cksx"
},
"type": "object",
"properties": {
"downloadLink": {
"type": "string",
"x-stoplight": {
"id": "3opxrhpcw3s6u"
},
"description": "Download link for the requested file"
}
},
"required": [
"downloadLink"
]
}
},
"securitySchemes": {
Expand Down

0 comments on commit 9a724e3

Please sign in to comment.