Skip to content

Make it possible to process a specification without defined componets#14

Open
Zloooy wants to merge 1 commit intohpoul:masterfrom
Zloooy:make-possible-to-process-specification-without-defined-components
Open

Make it possible to process a specification without defined componets#14
Zloooy wants to merge 1 commit intohpoul:masterfrom
Zloooy:make-possible-to-process-specification-without-defined-components

Conversation

@Zloooy
Copy link

@Zloooy Zloooy commented Apr 27, 2025

The PR solves this issue. It is also connected with the dependency PR.

According to OpenAPI spec the components, components.schemas and components.securitySchemas fields are optional. Commit makes it possible to process such files. Removed part *.g.dart file declaration because the lack of schemas makes it redundant.

…ts`.

According to [OpenAPI spec](https://spec.openapis.org/oas/v3.1.1.html#fixed-fields-5) the `components`, `components.schemas` and `components.securitySchemas` fields are optional. Commit makes it possible to process such files. Removed part *.g.dart file declaration because the lack of schemas makes it redundant.
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.

1 participant