Skip to content

Feat: add relative and remote data handling in external value - #1844

Merged
lbroudoux merged 8 commits into
microcks:1.13.xfrom
StartUpNationLabs:feat/add-relative-and-remote-data-in-external-value
Jan 5, 2026
Merged

lbroudoux merged 8 commits into
microcks:1.13.xfrom
StartUpNationLabs:feat/add-relative-and-remote-data-in-external-value

Conversation

@Apoorva64

@Apoorva64 Apoorva64 commented Dec 1, 2025 •

Copy link
Copy Markdown
Contributor

Description

  • This PR add a way to handle relative an remote refs in externalValue

For example we can now do:

openapi: 3.0.3
info:
   title: Get Image Api
   version: 1.0.0

paths:
   /image/{id}:
      get:
         summary: Get an Image By Id
         parameters:
            -  name: id
               in: path
               required: true
               description: ID of the image to retrieve
               schema:
                  type: string
               examples:
                  EXAMPLE1:
                     value: 1
         responses:
            '200':
               description: The resized image
               content:
                  image/png:
                     schema:
                        type: string
                        format: binary
                     examples:
                       EXAMPLE1:
                         externalValue: ./microcks-banner.png
            '404':
               description: Image not found
            '500':
               description: Server error

Related issue(s)

#1042

@Apoorva64
Apoorva64 changed the base branch from master to 1.13.x December 1, 2025 17:19
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
@Apoorva64
Apoorva64 force-pushed the feat/add-relative-and-remote-data-in-external-value branch from 52a4c04 to 9094842 Compare December 1, 2025 17:23
@Apoorva64
Apoorva64 marked this pull request as ready for review December 1, 2025 17:36
@Apoorva64

Copy link
Copy Markdown
Contributor Author

@lbroudoux what are your thoughts on this PR?

@lbroudoux

Copy link
Copy Markdown
Member

@lbroudoux what are your thoughts on this PR?

Hey, I'm just back from a 2-weeks break. Looking at it now.

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm a bit concerned by encoding detection overhead... I think there'd might be a better way to do this but not sure how....

Apoorva64 and others added 3 commits January 5, 2026 13:59
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>
Signed-off-by: Apoorva Srinivas Appadoo <[email protected]>

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Let it roll!

@lbroudoux lbroudoux added this to the 1.13.2 milestone Jan 5, 2026
@lbroudoux
lbroudoux merged commit 00c0b3a into microcks:1.13.x Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants