Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openapi: 3.0.0
- info:
- version: '1.0.0'
- title: 'session'
- description: 'Service'
- externalDocs:
- description: document
- url: https://example.com
- servers:
- - url: 'https:///127.0.0.1:8080/v1'
- variables:
- apiRoot:
- default: https://example.com
- security:
- - {}
- - oAuth2ClientCredentials:
- - session
- paths:
- /service:
- post:
- summary: Create service
- tags:
- - service collection
- operationId: PostService
- parameters:
- - name: first-param
- in: query
- description: First Query Param
- schema:
- type: string
- - name: json-param
- in: query
- description: Second Query Param
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ServiceCreateData'
- responses:
- '200':
- description: successful creation of an service
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ServiceData'
- components:
- schemas:
- ServiceCreateData:
- type: object
- properties:
- type:
- type: string
- ServiceData:
- type: object
- properties:
- code:
- type: integer
- format: int32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement