Slide 30
Slide 30 text
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 7/27/19 - 30 / 44
www.galvao.eti.br
openapi
tags
info
version
title
contact
name
email
paths
/path
método
operationId
summary
tags
responses
status code
description
Especificação
{
"openapi": "3.0.2",
"tags": [
{
"name": "expressive"
}
],
"info": {
"version": "1.0.0",
"title": "Zend Expressive Demo",
"contact": {
"name": "Er Galvão Abbott",
"email": "galvao@galvao.eti.br"
}
},
"paths": {
"/test": {
"get": {
"operationId": "getTest",
"summary": "Tests the demo",
"tags": ["expressive", "demo"],
"responses": {
"200": {
"description": "Test works"
}
}
}
}
}
}
Desenvolvendo APIs com PHP & Expressive