Skip to content
Snippets Groups Projects
Commit b49de284 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

refactor: GetApplicationResponse -> Application

parent 69ba151b
No related branches found
No related tags found
1 merge request!20Ressourcen teilweise besser benannt. Keine API-Changes
......@@ -16,10 +16,10 @@ get:
content:
application/json:
schema:
$ref: '../../schemas/get-application-response.yml'
$ref: '../../schemas/application.yml'
examples:
example-1:
$ref: '../../examples/application-response.yml'
$ref: '../../examples/application.yml'
'400':
description: Bad Request
content:
......@@ -65,10 +65,10 @@ post:
content:
application/json:
schema:
$ref: '../../schemas/get-application-response.yml'
$ref: '../../schemas/application.yml'
examples:
example-1:
$ref: '../../examples/application-response.yml'
$ref: '../../examples/application.yml'
'400':
description: Bad Request
content:
......
title: Antragsmetadaten
description: Metadaten zu einem Antrag.
title: Antrag
description: Die Repräsentation eines Antrags
type: object
required:
- applicationId
......@@ -22,6 +22,8 @@ properties:
type: array
items:
type: string
currentStatus:
$ref: './application-state.yml'
encryptedMetadata:
title: JWE Encrypted Message
description: 'Content that is encrypted with JSON Web Encryption Compact Serialization, RFC 7516'
......@@ -32,8 +34,6 @@ properties:
description: 'Content that is encrypted with JSON Web Encryption Compact Serialization, RFC 7516'
type: string
pattern: '^[a-zA-Z0-9-_=.]+$'
currentStatus:
$ref: './application-state.yml'
statusHistory:
type: array
items:
......
......@@ -70,8 +70,8 @@ components:
$ref: './schemas/error-response.yml'
GetAllDestinationsResponse:
$ref: './schemas/get-all-destinations-response.yml'
GetApplicationResponse:
$ref: './schemas/get-application-response.yml'
Application:
$ref: './schemas/application.yml'
GetDestinationResponse:
$ref: './schemas/destination.yml'
GetDocumentResponse:
......@@ -99,7 +99,7 @@ components:
ApplicationCreatedResponse:
$ref: './examples/application-created-response.yml'
ApplicationResponse:
$ref: './examples/application-response.yml'
$ref: './examples/application.yml'
CreateApplicationRequest:
$ref: './examples/create-application-request.yml'
DestinationList:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment