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

Improve naming in roq-generator #30

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

ia3andy
Copy link
Contributor

@ia3andy ia3andy commented Jun 28, 2024

@ConfigMapping(prefix = "quarkus.roq.generator")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public interface RoqGeneratorConfig {

    /**
     * The selected paths to include in the static website
     * Glob syntax is authorized to add resources
     *
     * For dynamic paths selection, produce a {@link RoqSelection} in you app.
     *
     * <code>
     *     &#64;Produces
     *     &#64;Singleton
     *     @Transactional
     *     RoqSelection produce() {
     *         return new RoqSelection(List.of(
     *                 SelectedPath.builder().html("/roq?name=foo-html").build(),
     *                 SelectedPath.builder().path("/roq?name=foo").build(),
     *                 SelectedPath.builder().path("/roq?name=bar").build()));
     *     }
     * </code>
     */
    Optional<List<String>> paths();

@ia3andy ia3andy requested a review from a team as a code owner June 28, 2024 10:19
@ia3andy ia3andy merged commit c88f9e6 into quarkiverse:main Jun 28, 2024
1 check passed
mcruzdev pushed a commit that referenced this pull request Oct 9, 2024
Improve naming in roq-generator
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