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

204 Refactor: Split Open API documentation into multiple files #375

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

horatiorosa
Copy link
Contributor

@horatiorosa horatiorosa commented Sep 10, 2024

Description:

Used redocly split to create a multi-filer structure by extracting parts into standalone separate yaml files

  • component folder containing:
    • parameters folder: contains all parameters
    • responses folder: contains all responses
    • schema folder: contains all schemas
  • paths folder: contains all paths
    • params in the path are indicated by curly brackets{ }
    • backslashes / are replaced by underscores _
      • eg: boroughs_{boroughId}_community-districts.yaml

@horatiorosa horatiorosa self-assigned this Sep 10, 2024
@horatiorosa horatiorosa force-pushed the Issue/204-split-openapi-docs-into-diff-files branch from d6533fc to 3cd14fd Compare September 10, 2024 18:08
@TangoYankee TangoYankee requested a review from a team September 10, 2024 20:27
package.json Outdated Show resolved Hide resolved
Copy link
Member

@TangoYankee TangoYankee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev1 is extra. Otherwise, this looks even better than what I had in mind

 - Used redocly `split` to create a multi-filer structure by extracting parts into standalone separate `yaml`  files
   - component folder containing:
     - parameters folder: contains all parameters
     - responses folder: contains all responses
     - schema folder: contains all schemas
   - paths folder: contains all paths
     - params in the path are indicated by curly brackets`{ }` and backslashes ` / ` are replaced by underscores ` _ `
        - `boroughs_{boroughId}_community-districts.yaml`

s forgot to commit this
@horatiorosa horatiorosa force-pushed the Issue/204-split-openapi-docs-into-diff-files branch from 3cd14fd to af441b3 Compare September 11, 2024 16:55
@horatiorosa horatiorosa merged commit b8d94cd into main Sep 11, 2024
3 checks passed
@horatiorosa horatiorosa deleted the Issue/204-split-openapi-docs-into-diff-files branch September 11, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants