PHP Classes

File: Examples/HelloWorld/routes.yaml

Recommend this page to a friend!
  Classes of Virgilio lino   PHP OpenAPI Library   Examples/HelloWorld/routes.yaml   Download  
File: Examples/HelloWorld/routes.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP OpenAPI Library
Implement APIs defined using OpenAPI specification
Author: By
Last change:
Date: 4 years ago
Size: 1,155 bytes


Class file image Download
swagger: '2.0' info: description: | Sample hello world application using slim and SlimSwaggerDispatcher as automatic router generator []( version: 1.0.0 title: Hello world termsOfService: contact: email: license: name: Apache 2.0 url: tags: - name: framework paths: /hello/{name}: get: tags: - hello summary: Sample route description: Return the standard greetings operationId: HelloWorld produces: - application/json parameters: - name: name in: path description: thing to greet required: true type: string responses: 200: description: successful operation # schema: # $ref: '#/definitions/Hotel' 400: description: Invalid Greeting Suplied 404: description: Resource not found schemes: - https - http host: