# API-first development with OpenAPI # This file will be used at compile time to generate Spring-MVC endpoint stubs using openapi-generator openapi: '3.0.1' info: title: 'ReferenceManagementContext' version: 0.0.1 servers: - url: http://localhost:8083/api description: Development server - url: https://localhost:8083/api description: Development server with TLS Profile paths: /PaperArchiveFacade: summary: general data-oriented endpoint description: 'MAP link: INFORMATION_HOLDER_RESOURCE available at [the MAP website](https://microservice-api-patterns.org/)' get: tags: - PaperArchiveFacade summary: read only description: This operation realizes the Retrieval Operation pattern, described [on the MAP website](https://microservice-api-patterns.org/patterns/responsibility/operationResponsibilities/RetrievalOperation.html). operationId: lookupPapersFromAuthor parameters: - name: Parameter1 in: query description: unspecified required: true schema: type: string responses: "200": description: response message payload (success case) content: application/json: schema: type: array items: $ref: '#/components/schemas/PaperItemDTO' put: tags: - PaperArchiveFacade summary: write only description: This operation realizes the State Creation Operation pattern, described [on the MAP website](https://microservice-api-patterns.org/patterns/responsibility/operationResponsibilities/StateCreationOperation.html). operationId: createPaperItem requestBody: content: application/json: schema: $ref: '#/components/schemas/createPaperItemParameter' responses: "200": description: response message payload (success case) content: application/json: schema: $ref: '#/components/schemas/PaperItemDTO' post: tags: - PaperArchiveFacade description: unspecified operation responsibility operationId: convertToMarkdownForWebsite requestBody: content: application/json: schema: $ref: '#/components/schemas/PaperItemKey' responses: "200": description: response message payload (success case) content: application/json: schema: type: object properties: anonymous1: type: string components: schemas: PaperItemDTO: type: object properties: title: type: string authors: type: string venue: type: string paperItemId: $ref: '#/components/schemas/PaperItemKey' PaperItemKey: type: object properties: doi: type: string createPaperItemParameter: type: object properties: who: type: string what: type: string where: type: string responses: Problem: description: error occurred - see status code and problem object for more information. content: 'application/problem+json': schema: $ref: 'https://opensource.zalando.com/problem/schema.yaml#/Problem' securitySchemes: jwt: type: http description: JWT Authentication scheme: bearer bearerFormat: JWT security: - jwt: []