Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create OpenAPI specification for FIWARE-NGSI v2 #3038

Open
ccsr opened this issue Nov 13, 2017 · 5 comments
Open

Create OpenAPI specification for FIWARE-NGSI v2 #3038

ccsr opened this issue Nov 13, 2017 · 5 comments
Assignees
Labels

Comments

@ccsr
Copy link

ccsr commented Nov 13, 2017

Please create an OpenAPI specification for FIWARE-NGSI v2. Same as issue FIWARE/specifications#1

@fgalan
Copy link
Member

fgalan commented Nov 14, 2017

Looking to FIWARE Developers Guidelines (https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Developer_Guidelines) using Apiary as API specification format is mandatory:

Should you want to benefit from FIWARE automatic documentation generation systems you MUST use markdown for documentation and Apiary Blue Print for API specification.

Is the FIWARE Developers Guideline obsolete? Has been OpenAPI discussed as alternative to Apiary in some of the FIWARE governance bodies (TSC, etc.)?

Probably I'm missing something :) @jmcanterafonseca could you provide feedback on this?

@jmcanterafonseca
Copy link
Contributor

well, If someone wants to do that I'm fine but now our main target is ETSI ISG CIM. It can be found a very preliminary version of the Swagger spec at https://github.com/jmcanterafonseca/ETSI_CIM_Swagger

perhaps someone can modify it to match NGSIv2 if there is interest.

@fgalan fgalan added the doc label Nov 14, 2017
@chicco785
Copy link
Contributor

not sure it's 100% complete or correct, but I have a swagger spec of NGSIv2: https://swaggerhub.com/apis/chicco785/ngsi/v2
we use it to generate python and nodejs/javascript clients

@chicco785
Copy link
Contributor

chicco785 commented Nov 22, 2017

btw, in apiary now you can create api specs from swagger format.
also this can be of help: https://github.com/LucyBot-Inc/api-spec-converter

@jason-fox
Copy link
Contributor

@fgalan - The Developer Guidelines you quoted continue:

A link to the API Reference Documentation. Apiary Blueprints SHOULD be used. We recommend the
usage of Apiary if you want to benefit from tools (to be released soon) that will allow to automatically
generate FIWARE specifications.

I therefore assume that the official Open API specification is now the auto-generated one at:

If this is the correct, does this mean that this issue now obsolete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants