From 9e4f074e1e0ccb0276f7b0a18d0f9303fb241ebc Mon Sep 17 00:00:00 2001 From: tangoyankee Date: Wed, 24 Jul 2024 13:21:44 -0400 Subject: [PATCH] Fix redocly linting errors and warnings - Create a redocly config - Turn off license rule - Add a security policy - Add tag descriptions closes #207 closes #206 closes #205 --- openapi/openapi.yaml | 6 ++++++ redocly.yaml | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 redocly.yaml diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 049fa04a..fe047fdb 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -6,12 +6,18 @@ info: version: 0.1.0 servers: - url: https://zoning.planningdigital.com/api +security: [] tags: - name: Boroughs + description: An endpoint that returns or is otherwise related to NYC boroughs - name: Land Uses + description: An endpoint that returns or is otherwise related to land uses - name: Tax Lots + description: An endpoint that returns or is otherwise related to tax lots - name: Zoning Districts + description: An endpoint that returns or is otherwise related to zoning districts - name: GeoJSON + description: An endpoint that returns spatial data in a geojson format paths: /agencies: get: diff --git a/redocly.yaml b/redocly.yaml new file mode 100644 index 00000000..6419e848 --- /dev/null +++ b/redocly.yaml @@ -0,0 +1,5 @@ +extends: + - recommended + +rules: + info-license: off