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

Nima: OpenAPI #5411

Closed
1 task done
Tracked by #4766
tomas-langer opened this issue Nov 14, 2022 · 3 comments
Closed
1 task done
Tracked by #4766

Nima: OpenAPI #5411

tomas-langer opened this issue Nov 14, 2022 · 3 comments
Assignees
Labels
4.x Version 4.x epic Níma Helidon Níma open-api
Projects
Milestone

Comments

@tomas-langer
Copy link
Member

tomas-langer commented Nov 14, 2022

Common API (no MP dependency), add support for Níma

@tomas-langer tomas-langer changed the title openAPI - common API (no MP dependency), add support for Níma Nima: OpenAPI Nov 14, 2022
@github-actions github-actions bot added this to Triage in Backlog Nov 14, 2022
@tomas-langer tomas-langer added open-api 4.x Version 4.x Níma Helidon Níma task To do labels Nov 14, 2022
@tomas-langer tomas-langer added this to the 4.0.0 milestone Nov 14, 2022
@tjquinno
Copy link
Member

A few notes...

The MP OpenAPI org.eclipse.microprofile.openapi.models package (and subpackages) define 34 classes and interfaces that align with the elements of the OpenAPI (not MP) specification (top-level openapi object, paths, operations, etc.).

The OpenAPI (not MP) spec includes YAML and JSON expressions of the OpenAPI document spec https://github.com/OAI/OpenAPI-Specification/tree/main/schemas.

There are a few more utility classes in MP OpenAPI related to filtering (suppressing parts of the in-memory model at runtime), model-reading (adding to the in-memory model at runtime). If we want functional equivalence to MP OpenAPI we'd need parallels to these as well.

@m0mus m0mus added the P3 label Dec 1, 2022
@m0mus m0mus moved this from Triage to Normal priority in Backlog Dec 1, 2022
@m0mus m0mus moved this from Normal priority to In Progress in Backlog Dec 8, 2022
@tjquinno tjquinno moved this from In Progress to Normal priority in Backlog Jan 9, 2023
@tjquinno tjquinno moved this from Normal priority to Sprint Scope in Backlog Jan 17, 2023
@tjquinno tjquinno moved this from Sprint Scope to In Progress in Backlog Feb 9, 2023
@tjquinno tjquinno moved this from In Progress to Sprint Scope in Backlog Feb 27, 2023
@barchetta barchetta modified the milestones: 4.0.0-M1, 4.0.0-M2 May 18, 2023
@tjquinno tjquinno moved this from Sprint Scope to Normal priority in Backlog Jun 6, 2023
@tjquinno tjquinno moved this from Normal priority to Legendary in Backlog Jul 25, 2023
@tjquinno tjquinno added epic and removed task To do P3 labels Jul 25, 2023
@barchetta barchetta removed this from the 4.0.0-M2 milestone Aug 28, 2023
@barchetta barchetta added this to the 4.0.0-RC1 milestone Aug 28, 2023
@romain-grecourt
Copy link
Contributor

SE support for OpenAPI has been reduced to just static file and formatting. I.e. the file can be either JSON or YAML and can be formatted to either JSON or YAML.

The feature in SE in 4.x will not be on part with MP, i.e. we will not use Swagger to mirror the MP OpenAPI support in 4.0.

We can however revisit this decision in future versions.

@tjquinno
Copy link
Member

The specific features that were present in 3.x OpenAPI SE support that will not be present in 4.x are:

  • Developers can no longer designate a class of their own to augment the in-memory data model for the OpenAPI document (because there is no in-memory model created to be augmented)
  • Developers can no longer designate a class of their own to filter the elements of the in-memory data model for the OpenAPI document.

Backlog automation moved this from Legendary to Closed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x epic Níma Helidon Níma open-api
Projects
Backlog
  
Closed
Development

No branches or pull requests

5 participants