Skip to content

Commit

Permalink
openapi-generator (#6): openapi-exportandum.sh, melhorado template cu…
Browse files Browse the repository at this point in the history
…stomizado
  • Loading branch information
fititnt committed May 8, 2021
1 parent 776ee38 commit adc5884
Show file tree
Hide file tree
Showing 11 changed files with 65 additions and 220 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ openapitools.json
# api/BR/portais-ckan-brasil/por/html
# openapi-generator-cli
api/*/*/*/html
api/*/*/*/html2
api/*/*/*/html2

# Our custom index page per project per language
# @see systema/programma/openapi-exportandum.sh
api/*/*/*/index.html
17 changes: 16 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,19 @@ twitter:
# GitHub pages related
# - https://docs.github.com/en/[email protected]/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll
# - https://pages.github.com/versions/
# - https://jekyllrb.com/docs/front-matter/
# - https://jekyllrb.com/docs/front-matter/

# @see https://github.com/jekyll/jekyll-sitemap
url: "https://hapi.etica.ai" # the base hostname & protocol for your site
plugins:
- jekyll-sitemap

defaults:
- scope:
path: "api/*/*/*/html"
values:
sitemap: false
- scope:
path: "api/*/*/*/html2"
values:
sitemap: false
29 changes: 0 additions & 29 deletions api/BR/portais-arcgis-brasil/por/index.html

This file was deleted.

29 changes: 0 additions & 29 deletions api/BR/portais-ckan-brasil/por/index.html

This file was deleted.

29 changes: 0 additions & 29 deletions api/UN/CODV2API/eng/index.html

This file was deleted.

29 changes: 0 additions & 29 deletions api/UN/HDX/eng/index.html

This file was deleted.

13 changes: 7 additions & 6 deletions eng.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,41 +49,42 @@ open industry standard to document REST APIs.**
#### HDX - The Humanitarian Data Exchange

##### HDX-eng
- **Preview/Execute**: <https://hapi.etica.ai/api/UN/HDX/eng>
- **OpenAPI File**: [api/UN/HDX/eng/openapi.yaml](api/UN/HDX/eng/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/UN/HDX/eng/openapi.yaml>

#### CODV2API

##### CODV2API-eng
- **Preview/Execute**: <https://hapi.etica.ai/api/UN/CODV2API/eng>
- **OpenAPI File**: [api/UN/CODV2API/eng/openapi.yaml](api/UN/CODV2API/eng/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/UN/CODV2API/eng/openapi.yaml>

### XZ

#### HXL-Proxy - Humanitarian Exchange Language Proxy

##### HXL-Proxy
- **Preview/Execute**: <https://hapi.etica.ai/api/XZ/HXL-Proxy/eng>
- **OpenAPI File**: [api/XZ/HXL-Proxy/eng/openapi.yaml](api/XZ/HXL-Proxy/eng/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/XZ/HXL-Proxy/eng/openapi.yaml>

### BR

#### Brazilian Open Data portals

##### portais-ckan-brasil-por

- **Preview/Execute**: <https://hapi.etica.ai/api/BR/portais-ckan-brasil/por>
- **OpenAPI File**: [api/BR/portais-ckan-brasil/por/openapi.yaml](api/BR/portais-ckan-brasil/por/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/portais-ckan-brasil/por/openapi.yaml>

##### portais-arcgis-brasil-por

- **Preview/Execute**: <https://hapi.etica.ai/api/BR/portais-arcgis-brasil/por>
- **OpenAPI File**: [api/BR/portais-arcgis-brasil/por/openapi.yaml](api/BR/portais-arcgis-brasil/por/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/portais-arcgis-brasil/por/openapi.yaml>


##### brazilian-ckan-portals-eng

- **Preview/Execute**: <https://hapi.etica.ai/api/BR/brazilian-ckan-portals/eng>
- **OpenAPI File**: [api/BR/brazilian-ckan-portals/eng/openapi.yaml](api/BR/brazilian-ckan-portals/eng/openapi.yaml)
- **Preview/Execute**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/brazilian-ckan-portals/eng/openapi.yaml>

## Schema

Expand Down
12 changes: 6 additions & 6 deletions por.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,41 +46,41 @@ documentar APIs REST.**
#### HDX - The Humanitarian Data Exchange

##### HDX-eng
- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/UN/HDX/eng>
- **Arquivo OpenAPI**: [api/UN/HDX/eng/openapi.yaml](api/UN/HDX/eng/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/UN/HDX/eng/openapi.yaml>

#### CODV2API

##### CODV2API-eng
- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/UN/CODV2API/eng>
- **Arquivo OpenAPI**: [api/UN/CODV2API/eng/openapi.yaml](api/UN/CODV2API/eng/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/UN/CODV2API/eng/openapi.yaml>

### XZ

#### HXL-Proxy - Proxy da Linguagem de Intercâmbio Humanitária

##### HXL-Proxy
- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/XZ/HXL-Proxy/eng>
- **Arquivo OpenAPI**: [api/XZ/HXL-Proxy/eng/openapi.yaml](api/XZ/HXL-Proxy/eng/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/XZ/HXL-Proxy/eng/openapi.yaml>

### BR

#### Portais de dados abertos no Brasil

##### brazilian-ckan-portals-eng

- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/BR/brazilian-ckan-portals/eng>
- **Arquivo OpenAPI**: [api/BR/brazilian-ckan-portals/eng/openapi.yaml](api/BR/brazilian-ckan-portals/eng/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/brazilian-ckan-portals/eng/openapi.yaml>

##### portais-ckan-brasil-por

- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/BR/portais-ckan-brasil/por>
- **Arquivo OpenAPI**: [api/BR/portais-ckan-brasil/por/openapi.yaml](api/BR/portais-ckan-brasil/por/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/portais-ckan-brasil/por/openapi.yaml>

##### portais-arcgis-brasil-por

- **Pré-visualizar/executar online**: <https://hapi.etica.ai/api/BR/portais-arcgis-brasil/por>
- **Arquivo OpenAPI**: [api/BR/portais-arcgis-brasil/por/openapi.yaml](api/BR/portais-arcgis-brasil/por/openapi.yaml)
- **Pré-visualizar/executar online**: <https://editor.swagger.io/?url=https://hapi.etica.ai/api/BR/portais-arcgis-brasil/por/openapi.yaml>

## Schema

Expand Down
Loading

0 comments on commit adc5884

Please sign in to comment.