All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jeaf.generator.jeaf-generator-test-custom-extension-usage.1.23.1.source-code.datatypes.yml Maven / Gradle / Ivy

openapi: 3.1.0

info:
  title: Datatypes
  version: 1.23.1
  termsOfService: https://www.jeaf-generator.io/terms-of-use
  contact:
    name: Maven Contact
    url: 'https://www.jeaf-generator.io'
    email: [email protected]
  license:
    name: Maven Custom License
    url: 'https://www.jeaf-generator.io/license'
paths:
  # OpenAPI standard requires to define at least 1 operation. This API however seems to be a pure type definition. 
  # So we define NOP operation here as workaround.
  /nop:
    get:
      operationId: noOperation
      responses:
        '200':
          description: Nothing is the result of nop ;-)

components:
  securitySchemes:
    MyOAuthSecuritySchema:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: 'https://example.com/api/oauth/dialog'
          tokenUrl: 'https://example.com/api/oauth/dialog'
          refreshUrl: 'https://example.com/api/oauth/dialog'
          scopes: 
            read:pets: Read pets data
            write:pets: Modify pets

        implicit:
          authorizationUrl: 'https://example.com/api/oauth/dialog'
          tokenUrl: 'TODO Please add required token URL'
          refreshUrl: 'https://example.com/api/oauth/dialog'
          scopes: 
            read:pets: Read pets data
            write:pets: Modify pets

  schemas:
      
      
    # com.anaptecs.jeaf.junit.openapi.datatypes.MyDataType
    MyDataType:
      type: string
      nullable: false





© 2015 - 2024 Weber Informatics LLC | Privacy Policy